<%= form_remote_tag :url=>{:controller=>"forum",:action=>"create_topic",:forum_id=>@forum.id}%>
<h3>标题：</h3>
<%=text_field 'topic', 'title', :size=>"50" %>
<h3>内容：</h3>
<%=text_area 'topic', 'body', :style=>"width:400px;height:200px" %>
<h3>
反垃圾算术题:<span id="validation_pic"><input id="file_name" type="hidden" name="filename" value="a" /><img
			src='<%= url_for(:controller=>"index",:action=>"post_validation",:filename=>"a")%>' /></span><%= text_field_tag 'validation',@params[:validation],:size=>"3", 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%>
<%= submit_tag " 发表我的话题 ",:class=>"btn_mouseout",
													:onmouseover=>"this.className='btn_mouseover'",
 													:onmouseout=>"this.className='btn_mouseout'",
 													:onmousedown=>"this.className='btn_mousedown'",
  													:onmouseup=>"this.className='btn_mouseup'"%>
  													</h3>
<%= end_form_tag%>
<div id="check"></div>
